var menus = [
    {
        name: 'Home',
        icon: '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M5 12l-2 0l9 -9l9 9l-2 0" /><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" /><path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" /></svg>',
        stateName: 'home',
        url: '/home',
        templateUrl: './pages/home.html',
        controller: 'homeCtrl',
        controllerAs: 'home',
        status: 1
    }, 
    {
        name: 'Tools',
        icon: '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 3l8 4.5l0 9l-8 4.5l-8 -4.5l0 -9l8 -4.5" /><path d="M12 12l8 -4.5" /><path d="M12 12l0 9" /><path d="M12 12l-8 -4.5" /><path d="M16 5.25l-8 4.5" /></svg>',
        stateName: 'tools',
        url: '/tools',
        templateUrl: './pages/tools.html',
        controller: 'toolsCtrl',
        controllerAs: 'tools',
        status: 1,
        children: [
            {
                name: 'XiaoHongShu',
                stateName: 'xiaohongshu',
                icon: 'fa fa-home',
                url: '/tools/xhs',
                templateUrl: './pages/tools/xiaohongshu.html',
                controller: 'xhsCtrl',
                controllerAs: 'xhs',
                status: 1
            }, {
                name: 'BaiJiaXing',
                //stateName: 'tools.baijiaxing',
                stateName: 'baijiaxing',
                icon: 'fa fa-home',
                url: '/tools/baijiaxing',
                templateUrl: './pages/tools/baijiaxing.html',
                controller: 'bjxCtrl',
                controllerAs: 'bjx',
                status: 1
            }, {
                name: 'Encrypt',
                stateName: 'tools.encrypt',
                icon: 'fa fa-home',
                url: '/tools/encrypt',
                templateUrl: './pages/tools/encrypt.html',
                controller: 'encryptCtrl',
                controllerAs: 'encrypt',
                status: 0,
                children: [
                    {
                        name: 'Url Encrypt',
                        stateName: 'tools.encrypt.url',
                        icon: 'fa fa-home',
                        url: '/tools/encrypt/url',
                        templateUrl: './pages/tools/encrypt/url.html',
                        controller: 'encryptUrlCtrl',
                        controllerAs: 'encryptUrl',
                        status: 1
                    }, {
                        name: 'Base64 Encrypt',
                        stateName: 'tools.encrypt.base64',
                        icon: 'fa fa-home',
                        url: '/tools/encrypt/base64',
                        templateUrl: './pages/tools/encrypt/base64.html',
                        controller: 'encryptBase64Ctrl',
                        controllerAs: 'encryptBase64',
                        status: 1
                    }
                ]
            }
        ]
    },
    {
        name: 'New',
        icon: 'fa fa-home',
        stateName: 'new',
        url: '/new/:newId',
        templateUrl: './pages/new.html',
        controller: 'newCtrl',
        controllerAs: 'new',
        status: 0
    }
];